package com.zh.demo.model;
import org.apache.log4j.Logger;
public class Car {
	private static Logger logger = Logger.getLogger(Car.class);
	
	private int id;
	private double price;
	private String area;
	private String colour;
	@Override
	public String toString() {
		return "Car [id=" + id + ", price=" + price + ", area=" + area + ", colour=" + colour + "]";
	}
	public static Logger getLogger() {
		return logger;
	}
	public static void setLogger(Logger logger) {
		Car.logger = logger;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getarea() {
		return area;
	}
	public void setarea(String area) {
		this.area = area;
	}
	public String getColour() {
		return colour;
	}
	public void setColour(String colour) {
		this.colour = colour;
	}
	public Car(int id, double price, String area, String colour) {
		super();
		this.id = id;
		this.price = price;
		this.area = area;
		this.colour = colour;
	}
	public Car() {
	
		// TODO Auto-generated constructor stub
	}
	
	
}
